package com.ddl.pay;

import java.io.Serializable;

/**
 * Created by Administrator on 2016/5/10.
 */
public class WeChatRequestPayDto implements Serializable {
    private static final long serialVersionUID = 1L;
    private String body;
    private String out_trade_no;
    private String total_fee;
    private String spbill_create_ip;
    private String trade_type;
    private String wxOpanid;
    private String wxtradetype;//JSAPI,APP
private String device_info; //河北分账使用该字段.
    private String mch_id;//商户号
    private String appid;//appid
    private String apikey;//商户的apikey;
    private String sub_mch_id; //服务商模式商户号的子商户号
    private String sub_appid; //服务商模式商户号的应用id
    private String sub_openid;
    private String time_start;//交易起始时间
    private String time_expire;//交易结束时间
    private String back_url;//回调url

    @Override
    public String toString() {
        return "WeChatRequestPayDto{" +
                "body='" + body + '\'' +
                ", out_trade_no='" + out_trade_no + '\'' +
                ", total_fee='" + total_fee + '\'' +
                ", spbill_create_ip='" + spbill_create_ip + '\'' +
                ", trade_type='" + trade_type + '\'' +
                ", wxOpanid='" + wxOpanid + '\'' +
                ", wxtradetype='" + wxtradetype + '\'' +
                ", device_info='" + device_info + '\'' +
                ", mch_id='" + mch_id + '\'' +
                ", appid='" + appid + '\'' +
                ", apikey='" + apikey + '\'' +
                ", sub_mch_id='" + sub_mch_id + '\'' +
                ", sub_appid='" + sub_appid + '\'' +
                ", sub_openid='" + sub_openid + '\'' +
                ", time_start='" + time_start + '\'' +
                ", time_expire='" + time_expire + '\'' +
                '}';
    }

    public String getWxOpanid() {
        return wxOpanid;
    }

    public void setWxOpanid(String wxOpanid) {
        this.wxOpanid = wxOpanid;
    }

    public String getBody() {
        return body;
    }
    public String getMch_id() {
        return mch_id;
    }

    public void setMch_id(String mch_id) {
        this.mch_id = mch_id;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getApikey() {
        return apikey;
    }

    public void setApikey(String apikey) {
        this.apikey = apikey;
    }
    public String getOut_trade_no() {
        return out_trade_no;
    }

    public String getTotal_fee() {
        return total_fee;
    }

    public String getWxtradetype() {
        return wxtradetype;
    }

    public void setWxtradetype(String wxtradetype) {
        this.wxtradetype = wxtradetype;
    }

    public String getSpbill_create_ip() {
        return spbill_create_ip;
    }

    public String getTrade_type() {
        return trade_type;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }

    public void setTotal_fee(String total_fee) {
        this.total_fee = total_fee;
    }

    public void setSpbill_create_ip(String spbill_create_ip) {
        this.spbill_create_ip = spbill_create_ip;
    }

    public void setTrade_type(String trade_type) {
        this.trade_type = trade_type;
    }

    public String getDevice_info() {
        return device_info;
    }

    public void setDevice_info(String device_info) {
        this.device_info = device_info;
    }

    public String getSub_mch_id() {
        return sub_mch_id;
    }

    public void setSub_mch_id(String sub_mch_id) {
        this.sub_mch_id = sub_mch_id;
    }

    public String getSub_appid() {
        return sub_appid;
    }

    public void setSub_appid(String sub_appid) {
        this.sub_appid = sub_appid;
    }

    public String getSub_openid() {
        return sub_openid;
    }

    public void setSub_openid(String sub_openid) {
        this.sub_openid = sub_openid;
    }

    public String getTime_start() {
        return time_start;
    }

    public void setTime_start(String time_start) {
        this.time_start = time_start;
    }

    public String getTime_expire() {
        return time_expire;
    }

    public void setTime_expire(String time_expire) {
        this.time_expire = time_expire;
    }

	public String getBack_url() {
		return back_url;
	}

	public void setBack_url(String back_url) {
		this.back_url = back_url;
	}
}
